﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFurion.Application
{
    /// <summary>
    /// API授权判断属性
    /// </summary>
    public class ActionPermission : Attribute
    {
        /// <summary>
        /// 权限字符串，例如 system:user:view
        /// </summary>
        public string Permission { get; set; }

        public ActionPermission() { }

        public ActionPermission(string permission)
        {
            Permission = permission;
        }
    }
}
